<template>
  <div id="app">
    <a-config-provider :locale="locale">
      <router-view />
    </a-config-provider>
  </div>
</template>
<script>
import M from "minimatch";
import zhCN from "ant-design-vue/lib/locale-provider/zh_CN";

export default {
  name: "app",
  data() {
    return {
      // storageIf:0,
      refresh: false,
      locale: zhCN
    };
  },
  created() {
    let obj = JSON.parse(localStorage.getItem("active_tabs"));
    if (!Array.isArray(obj)) {
      localStorage.removeItem("active_tabs");
    }
  },
  mounted() {
    // window.addEventListener("scroll", this.$handleScroll, true); // 监听（绑定）滚轮滚动事件
    // window.addEventListener("beforeunload", (e) => {
    //   localStorage.removeItem("openScreen"); // 大屏页面 /home/basicData/screen 设置
    // });
  },
  methods: {

  },
  watch: {},
};
</script>
<style scoped></style>
